﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200123F RID: 4671
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartTrialActivityCsReq : IMessage<StartTrialActivityCsReq>, IMessage, IEquatable<StartTrialActivityCsReq>, IDeepCloneable<StartTrialActivityCsReq>, IBufferMessage
	{
		// Token: 0x17003B42 RID: 15170
		// (get) Token: 0x0600D191 RID: 53649 RVA: 0x00234C58 File Offset: 0x00232E58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartTrialActivityCsReq> Parser
		{
			get
			{
				return StartTrialActivityCsReq._parser;
			}
		}

		// Token: 0x17003B43 RID: 15171
		// (get) Token: 0x0600D192 RID: 53650 RVA: 0x00234C5F File Offset: 0x00232E5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartTrialActivityCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B44 RID: 15172
		// (get) Token: 0x0600D193 RID: 53651 RVA: 0x00234C71 File Offset: 0x00232E71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartTrialActivityCsReq.Descriptor;
			}
		}

		// Token: 0x0600D194 RID: 53652 RVA: 0x00234C78 File Offset: 0x00232E78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrialActivityCsReq()
		{
		}

		// Token: 0x0600D195 RID: 53653 RVA: 0x00234C80 File Offset: 0x00232E80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrialActivityCsReq(StartTrialActivityCsReq other) : this()
		{
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D196 RID: 53654 RVA: 0x00234CA5 File Offset: 0x00232EA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrialActivityCsReq Clone()
		{
			return new StartTrialActivityCsReq(this);
		}

		// Token: 0x17003B45 RID: 15173
		// (get) Token: 0x0600D197 RID: 53655 RVA: 0x00234CAD File Offset: 0x00232EAD
		// (set) Token: 0x0600D198 RID: 53656 RVA: 0x00234CB5 File Offset: 0x00232EB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x0600D199 RID: 53657 RVA: 0x00234CBE File Offset: 0x00232EBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartTrialActivityCsReq);
		}

		// Token: 0x0600D19A RID: 53658 RVA: 0x00234CCC File Offset: 0x00232ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartTrialActivityCsReq other)
		{
			return other != null && (other == this || (this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D19B RID: 53659 RVA: 0x00234CFC File Offset: 0x00232EFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D19C RID: 53660 RVA: 0x00234D3B File Offset: 0x00232F3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D19D RID: 53661 RVA: 0x00234D43 File Offset: 0x00232F43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D19E RID: 53662 RVA: 0x00234D4C File Offset: 0x00232F4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.StageId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D19F RID: 53663 RVA: 0x00234D80 File Offset: 0x00232F80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D1A0 RID: 53664 RVA: 0x00234DBE File Offset: 0x00232FBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartTrialActivityCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D1A1 RID: 53665 RVA: 0x00234DEF File Offset: 0x00232FEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D1A2 RID: 53666 RVA: 0x00234DF8 File Offset: 0x00232FF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.StageId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005403 RID: 21507
		private static readonly MessageParser<StartTrialActivityCsReq> _parser = new MessageParser<StartTrialActivityCsReq>(() => new StartTrialActivityCsReq());

		// Token: 0x04005404 RID: 21508
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005405 RID: 21509
		public const int StageIdFieldNumber = 6;

		// Token: 0x04005406 RID: 21510
		private uint stageId_;
	}
}
